cc_library(
	name = "cstring",
	srcs = ["cstring.cpp"],
	hdrs = ["cstring.h"],
)

cc_test(
	name = "unittest",
	srcs = [
		"unittest.cc",
		"shared_ptr.h",
		"double_buffer.h",
		"split.h"
	],
	deps = [
		"@com_google_googletest//:gtest_main",
		":cstring",
	],
)